package com.kiki.comment.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.kiki.common.annotation.Excel;
import com.kiki.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;


/**
 * 音乐评论对象 commentVO
 * 
 * @author 林志毅
 * @date 2025-01-11
 */
@Data
public class CommentVO extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户名 */
    private String userName;

    /** 用户头像 */
    private String avatar;

    /** 评论内容 */
    @Excel(name = "评论内容")
    private String content;

    /**评论时间*/
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发评论时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

}
